rays

shadow calculation by intersection (intersection of circle with line segment).